package com.xunshibao.entity.info;

import java.math.BigDecimal;

/**
 * Profile entity. @author MyEclipse Persistence Tools
 */

public class TutorInfo implements java.io.Serializable {
	/**
	 * 信息状态 报名中、报名结束、逻辑删除
	 * 
	 * @author zhanyuny
	 * 
	 */
	public static enum Status {
		START("0"), END("1"), DELETED("2");
		private String value = null;

		Status(String value) {
			this.value = value;
		}

		public String value() {
			return this.value;
		}
	}

	/**
	 * 费用类型 免费，收费
	 * 
	 * @author zhanyuny
	 * 
	 */
	public static enum FeeType {
		FREE("0"), CHARGE("1");
		private String value = null;

		FeeType(String value) {
			this.value = value;
		}

		public String value() {
			return this.value;
		}
	}

	/**
	 * 计费方式 按小时，按次数，按课程
	 * 
	 * @author zhanyuny
	 * 
	 */
	public static enum ChargeType {
		HOUR("0"), TIMES("1"), COURSE("2");
		private String value = null;

		ChargeType(String value) {
			this.value = value;
		}

		public String value() {
			return this.value;
		}
	}

	/**
	 * 课程类型 一对一授课<br/>
	 * 一对多授课
	 * 
	 * @author zhanyuny
	 * 
	 */
	public static enum CourseType {
		ONE2ONE("0"), ONE2MANY("1");
		private String value = null;

		CourseType(String value) {
			this.value = value;
		}

		public String value() {
			return this.value;
		}
	}

	/**
	 * 授课方式，教师上门，学生上门
	 * 
	 * @author zhanyuny
	 * 
	 */
	public static enum TeachWay {
		TEACH("0"), STUDENT("1");
		private String value = null;

		TeachWay(String value) {
			this.value = value;
		}

		public String value() {
			return this.value;
		}
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = -6129931198410234253L;
	private Long id;
	private Long poster;
	private Integer postDate;
	private Integer subject;
	private Integer courseNum;
	private Integer avialableDate;
	private String status;
	private String feeType;
	private String chargeType;
	private String courseType;
	private String teachWay;
	private BigDecimal chargeValue;
	private String title;
	private String teachDay;
	private String memo;
	private String ipaddress;

	public TutorInfo() {
		super();
	}

	public TutorInfo(Long id, Long poster, Integer postDate, String title) {
		super();
		this.id = id;
		this.poster = poster;
		this.postDate = postDate;
		this.title = title;
	}

	/**
	 * 编号
	 * 
	 * @return
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 发布人
	 * 
	 * @return
	 */
	public Long getPoster() {
		return poster;
	}

	/**
	 * 发布日期
	 * 
	 * @return
	 */
	public Integer getPostDate() {
		return postDate;
	}

	/**
	 * 教授科目 从常量表中选择
	 * 
	 * @return
	 */
	public Integer getSubject() {
		return subject;
	}

	/**
	 * 课程人数
	 * 
	 * @return
	 */
	public Integer getCourseNum() {
		return courseNum;
	}

	/**
	 * 当前状态 0:报名中 1:报名结束 2:逻辑删除
	 * 
	 * @return
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * 收费类型 0为免费、1为收费
	 * 
	 * @return
	 */
	public String getFeeType() {
		return feeType;
	}

	/**
	 * 收费方式 0按小时 1按次数 2按课程
	 * 
	 * @return
	 */
	public String getChargeType() {
		return chargeType;
	}

	/**
	 * 课程类型 0一对一 1一对多
	 * 
	 * @return
	 */
	public String getCourseType() {
		return courseType;
	}

	/**
	 * 授课方式 0教师上门 1学生上门
	 * 
	 * @return
	 */
	public String getTeachWay() {
		return teachWay;
	}

	/**
	 * 收费金额
	 * 
	 * @return
	 */
	public BigDecimal getChargeValue() {
		return chargeValue;
	}

	/**
	 * 标题
	 * 
	 * @return
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * 授课时间 0教师上门 1学生上门
	 * 
	 * @return
	 */
	public String getTeachDay() {
		return teachDay;
	}

	/**
	 * 描述
	 * 
	 * @return
	 */
	public String getMemo() {
		return memo;
	}

	/**
	 * 有效期
	 * 
	 * @return
	 */
	public Integer getAvialableDate() {
		return avialableDate;
	}

	public void setAvialableDate(Integer avialableDate) {
		this.avialableDate = avialableDate;
	}

	public String getIpaddress() {
		return ipaddress;
	}

	public void setIpaddress(String ipaddress) {
		this.ipaddress = ipaddress;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setPoster(Long poster) {
		this.poster = poster;
	}

	public void setPostDate(Integer postDate) {
		this.postDate = postDate;
	}

	public void setSubject(Integer subject) {
		this.subject = subject;
	}

	public void setCourseNum(Integer courseNum) {
		this.courseNum = courseNum;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setFeeType(String feeType) {
		this.feeType = feeType;
	}

	public void setChargeType(String chargeType) {
		this.chargeType = chargeType;
	}

	public void setCourseType(String courseType) {
		this.courseType = courseType;
	}

	public void setTeachWay(String teachWay) {
		this.teachWay = teachWay;
	}

	public void setChargeValue(BigDecimal chargeValue) {
		this.chargeValue = chargeValue;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setTeachDay(String teachDay) {
		this.teachDay = teachDay;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
}
